<?php 
 return array(
'module_name'=>'admin',//代码生成的应用目录  注:这里需根据实际情况手动配置
'tableName'=>'ptf_shop',//表名必填
'tableCnName'=>'店铺',//表中文名必填  注:这里需根据实际情况手动配置

'priTable'=>'ptf_privilege',//权限表名必填   注:这里需根据实际情况手动配置


//表中的主键字段
'pri_key'=>'shop_id',
/*********TP5验证规则********/
'validate_rule'=>"array(
		'shop_name' => 'require|max:50',
		'shop_type_id'=>'require|number',
		'shop_type_name' => 'max:50',
		'member_id'=>'require|number',
		'shop_group_id'=>'number',
		'shop_group_name' => 'max:50',
		'company_name' => 'max:50',
		'province_id'=>'number',
		'city_id'=>'number',
		'district_id'=>'number',
		'address_detail' => 'max:50',
		'shop_zip' => 'max:10',
    		'shop_close_info' => 'max:255',
		'shop_sort'=>'number',
		'shop_banner' => 'max:255',
		'shop_avatar' => 'max:150',
		'shop_keywords' => 'max:255',
		'shop_description' => 'max:255',
		'shop_qq' => 'max:50',
		'shop_ww' => 'max:50',
		'shop_phone'=>'regex:^1[356789]\d{9}',
		'shop_domain' => 'max:50',
    		'shop_credit'=>'number',
		'shop_collect'=>'number',
		'shop_stamp' => 'max:200',
		'shop_printdesc' => 'max:500',
		'shop_sales'=>'regex:\d+\.?\d{0,2}',
		'shop_account'=>'regex:\d+\.?\d{0,2}',
		'shop_cash'=>'regex:\d+\.?\d{0,2}',
		'live_store_name' => 'max:255',
		'live_store_address' => 'max:255',
		'live_store_tel'=>'regex:^1[356789]\d{9}',
		'live_store_bus' => 'max:255',
		'shop_vrcode_prefix' => 'max:3',
                                		'shop_region' => 'max:50',
		'recommend_uid'=>'number',
		'shop_qrcode' => 'max:255',
		'shop_platform_commission_rate'=>'regex:\d+\.?\d{0,2}',
	)",
/*********TP5验证规则错误提示信息********/
'validate_message'=>"array(
		'shop_name.require'=>'店铺名称不能为空',
		'shop_name.max'=>'店铺名称的值不能超过50个字符',
		'shop_type_id.require'=>'店铺等级不能为空',
		'shop_type_id.number'=>'店铺等级的值必须是一个整数',
		'shop_type_name.max'=>'店铺等级名称的值不能超过50个字符',
		'member_id.require'=>'会员id不能为空',
		'member_id.number'=>'会员id的值必须是一个整数',
		'shop_group_id.number'=>'店铺分类的值必须是一个整数',
		'shop_group_name.max'=>'店铺类型名称的值不能超过50个字符',
		'company_name.max'=>'店铺公司名称的值不能超过50个字符',
		'province_id.number'=>'店铺所在省份ID的值必须是一个整数',
		'city_id.number'=>'店铺所在市ID的值必须是一个整数',
		'district_id.number'=>'所在地区ID的值必须是一个整数',
		'address_detail.max'=>'公司详细地址的值不能超过50个字符',
		'shop_zip.max'=>'邮政编码的值不能超过10个字符',
		'shop_close_info.max'=>'店铺关闭原因的值不能超过255个字符',
		'shop_sort.number'=>'店铺排序的值必须是一个整数',
		'shop_banner.max'=>'店铺横幅的值不能超过255个字符',
		'shop_avatar.max'=>'店铺头像的值不能超过150个字符',
		'shop_keywords.max'=>'店铺seo关键字的值不能超过255个字符',
		'shop_description.max'=>'店铺seo描述的值不能超过255个字符',
		'shop_qq.max'=>'QQ的值不能超过50个字符',
		'shop_ww.max'=>'阿里旺旺的值不能超过50个字符',
		'shop_phone.regex'=>'商家电话的值不是正确的手机号码',
		'shop_domain.max'=>'店铺二级域名的值不能超过50个字符',
		'shop_credit.number'=>'店铺信用的值必须是一个整数',
		'shop_collect.number'=>'店铺收藏数量的值必须是一个整数',
		'shop_stamp.max'=>'店铺印章的值不能超过200个字符',
		'shop_printdesc.max'=>'打印订单页面下方说明文字的值不能超过500个字符',
		'shop_sales.regex'=>'店铺销售额（不计算退款）的值不是正确的货币格式',
		'shop_account.regex'=>'店铺账户余额的值不是正确的货币格式',
		'shop_cash.regex'=>'店铺可提现金额的值不是正确的货币格式',
		'live_store_name.max'=>'商铺名称的值不能超过255个字符',
		'live_store_address.max'=>'商家地址的值不能超过255个字符',
		'live_store_tel.regex'=>'商铺电话的值不是正确的手机号码',
		'live_store_bus.max'=>'公交线路的值不能超过255个字符',
		'shop_vrcode_prefix.max'=>'商家兑换码前缀的值不能超过3个字符',
		'shop_region.max'=>'店铺默认配送区域的值不能超过50个字符',
		'recommend_uid.number'=>'推荐招商员用户id的值必须是一个整数',
		'shop_qrcode.max'=>'店铺公众号的值不能超过255个字符',
		'shop_platform_commission_rate.regex'=>'平台抽取佣金比率的值不是正确的货币格式',
)",
/**************TP5的验证场景****************/
'validate_scene'=>"array(
		'add'=>array('shop_name','shop_type_id','shop_type_name','member_id','shop_group_id','shop_group_name','company_name','province_id','city_id','district_id','address_detail','shop_zip','shop_status','shop_close_info','shop_sort','shop_logo','shop_banner','shop_avatar','shop_keywords','shop_description','shop_qq','shop_ww','shop_phone','shop_domain','shop_recommend','shop_credit','shop_desccredit','shop_servicecredit','shop_collect','shop_stamp','shop_printdesc','shop_sales','shop_account','shop_cash','live_store_name','live_store_address','live_store_tel','live_store_bus','shop_vrcode_prefix','store_qtian','shop_zhping','shop_erxiaoshi','shop_tuihuo','shop_shiyong','shop_shiti','shop_xiaoxie','shop_huodaofk','shop_region','recommend_uid','shop_qrcode','shop_platform_commission_rate'),
		'edit'=>array('shop_id','shop_name','shop_type_id','shop_type_name','member_id','shop_group_id','shop_group_name','company_name','province_id','city_id','district_id','address_detail','shop_zip','shop_status','shop_close_info','shop_sort','shop_logo','shop_banner','shop_avatar','shop_keywords','shop_description','shop_qq','shop_ww','shop_phone','shop_domain','shop_recommend','shop_credit','shop_desccredit','shop_servicecredit','shop_collect','shop_stamp','shop_printdesc','shop_sales','shop_account','shop_cash','live_store_name','live_store_address','live_store_tel','live_store_bus','shop_vrcode_prefix','store_qtian','shop_zhping','shop_erxiaoshi','shop_tuihuo','shop_shiyong','shop_shiti','shop_xiaoxie','shop_huodaofk','shop_region','recommend_uid','shop_qrcode','shop_platform_commission_rate'),
	)",

/*********生成动态表单的字段配置信息********/
/**
	注意:每个表的配置这里的表单字段需要根据实际情况手动修改
**/
'form_fields'=>array(
		'shop_name'=>array(
			'text'=>'店铺名称',
			'type'=>'text',
			'is_visible'=>1,
			'required'=>1,
			'placeholder'=>'请输入店铺名称',
			'validate'=>'datatype="s2-50"  errormsg="店铺名称超出长度范围"',
		),
		'shop_type_id'=>array(
			'text'=>'店铺等级',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请输入店铺等级',
			'validate'=>'datatype="n"  errormsg="店铺等级是数字类型"',
		),
		'shop_type_name'=>array(
			'text'=>'店铺等级名称',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺等级名称',
			'validate'=>'datatype="s2-50" ignore="ignore"  errormsg="店铺等级名称超出长度范围"',
		),
		'member_id'=>array(
			'text'=>'会员id',
			'type'=>'text',
			'is_visible'=>1,
			'required'=>1,
			'placeholder'=>'请输入会员id',
			'validate'=>'datatype="n"  errormsg="会员id是数字类型"',
		),
		'shop_group_id'=>array(
			'text'=>'店铺分类',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺分类',
			'validate'=>'datatype="n" ignore="ignore"  errormsg="店铺分类是数字类型"',
		),
		'shop_group_name'=>array(
			'text'=>'店铺类型名称',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺类型名称',
			'validate'=>'datatype="s2-50" ignore="ignore"  errormsg="店铺类型名称超出长度范围"',
		),
		'company_name'=>array(
			'text'=>'店铺公司名称',
			'type'=>'text',
			'is_visible'=>1,
			'required'=>0,
			'placeholder'=>'请输入店铺公司名称',
			'validate'=>'datatype="s2-50" ignore="ignore"  errormsg="店铺公司名称超出长度范围"',
		),
		'province_id'=>array(
			'text'=>'店铺所在省份ID',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺所在省份ID',
			'validate'=>'datatype="n" ignore="ignore"  errormsg="店铺所在省份ID是数字类型"',
		),
		'city_id'=>array(
			'text'=>'店铺所在市ID',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺所在市ID',
			'validate'=>'datatype="n" ignore="ignore"  errormsg="店铺所在市ID是数字类型"',
		),
		'district_id'=>array(
			'text'=>'所在地区ID',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入所在地区ID',
			'validate'=>'datatype="n" ignore="ignore"  errormsg="所在地区ID是数字类型"',
		),
		'address_detail'=>array(
			'text'=>'公司详细地址',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入公司详细地址',
			'validate'=>'datatype="s2-50" ignore="ignore"  errormsg="公司详细地址超出长度范围"',
		),
		'shop_zip'=>array(
			'text'=>'邮政编码',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入邮政编码',
			'validate'=>'datatype="s2-10" ignore="ignore"  errormsg="邮政编码超出长度范围"',
		),
		'shop_status'=>array(
			'text'=>'店铺状态',
			'type'=>'radio',
			'is_visible'=>1,
			'required'=>1,
			'placeholder'=>'请选择店铺状态0：关闭,1:开启',
			'validate'=>'datatype="*"  nullmsg="请选择店铺状态0：关闭,1:开启"',
					'values'=>array('否','是'),
	),
		'shop_close_info'=>array(
			'text'=>'店铺关闭原因',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺关闭原因',
			'validate'=>'datatype="s2-255" ignore="ignore"  errormsg="店铺关闭原因超出长度范围"',
		),
		'shop_sort'=>array(
			'text'=>'店铺排序',
			'type'=>'text',
			'is_visible'=>1,
			'required'=>0,
			'placeholder'=>'请输入店铺排序',
			'validate'=>'datatype="n" ignore="ignore"  errormsg="店铺排序是数字类型"',
		),
		'shop_logo'=>array(
			'text'=>'店铺logo',
			'type'=>'file',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺logo',
			'validate'=>'',
		),
		'shop_banner'=>array(
			'text'=>'店铺横幅',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺横幅',
			'validate'=>'datatype="s2-255" ignore="ignore"  errormsg="店铺横幅超出长度范围"',
		),
		'shop_avatar'=>array(
			'text'=>'店铺头像',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺头像',
			'validate'=>'datatype="s2-150" ignore="ignore"  errormsg="店铺头像超出长度范围"',
		),
		'shop_keywords'=>array(
			'text'=>'店铺seo关键字',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺seo关键字',
			'validate'=>'datatype="s2-255" ignore="ignore"  errormsg="店铺seo关键字超出长度范围"',
		),
		'shop_description'=>array(
			'text'=>'店铺seo描述',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺seo描述',
			'validate'=>'datatype="s2-255" ignore="ignore"  errormsg="店铺seo描述超出长度范围"',
		),
		'shop_qq'=>array(
			'text'=>'QQ',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入QQ',
			'validate'=>'datatype="s2-50" ignore="ignore"  errormsg="QQ超出长度范围"',
		),
		'shop_ww'=>array(
			'text'=>'阿里旺旺',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入阿里旺旺',
			'validate'=>'datatype="s2-50" ignore="ignore"  errormsg="阿里旺旺超出长度范围"',
		),
		'shop_phone'=>array(
			'text'=>'商家电话',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入商家电话',
			'validate'=>'datatype="m" ignore="ignore"',
		),
		'shop_domain'=>array(
			'text'=>'店铺二级域名',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺二级域名',
			'validate'=>'datatype="s2-50" ignore="ignore"  errormsg="店铺二级域名超出长度范围"',
		),
		'shop_recommend'=>array(
			'text'=>'推荐，0为否，1为是，默认为0',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择推荐，0为否，1为是，默认为0',
			'validate'=>'datatype="*"  nullmsg="请选择推荐，0为否，1为是，默认为0"',
					'values'=>array('否','是'),
	),
		'shop_credit'=>array(
			'text'=>'店铺信用',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺信用',
			'validate'=>'datatype="n" ignore="ignore"  errormsg="店铺信用是数字类型"',
		),
		'shop_desccredit'=>array(
			'text'=>'描述相符度分数',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入描述相符度分数',
			'validate'=>'datatype="*"  nullmsg="请选择描述相符度分数"',
					'values'=>array('否','是'),
	),
		'shop_servicecredit'=>array(
			'text'=>'服务态度分数',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入服务态度分数',
			'validate'=>'datatype="*"  nullmsg="请选择服务态度分数"',
					'values'=>array('否','是'),
	),
		'shop_collect'=>array(
			'text'=>'店铺收藏数量',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺收藏数量',
			'validate'=>'datatype="n" ignore="ignore"  errormsg="店铺收藏数量是数字类型"',
		),
		'shop_stamp'=>array(
			'text'=>'店铺印章',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺印章',
			'validate'=>'datatype="s2-200" ignore="ignore"  errormsg="店铺印章超出长度范围"',
		),
		'shop_printdesc'=>array(
			'text'=>'打印订单页面下方说明文字',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入打印订单页面下方说明文字',
			'validate'=>'datatype="s2-500" ignore="ignore"  errormsg="打印订单页面下方说明文字超出长度范围"',
		),
		'shop_sales'=>array(
			'text'=>'店铺销售额（不计算退款）',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺销售额（不计算退款）',
			'validate'=>'datatype="n" ignore="ignore" regex="/\d+\.?\d{0,2}/"',
		),
		'shop_account'=>array(
			'text'=>'店铺账户余额',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺账户余额',
			'validate'=>'datatype="n" ignore="ignore" regex="/\d+\.?\d{0,2}/"',
		),
		'shop_cash'=>array(
			'text'=>'店铺可提现金额',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺可提现金额',
			'validate'=>'datatype="n" ignore="ignore" regex="/\d+\.?\d{0,2}/"',
		),
		'live_store_name'=>array(
			'text'=>'商铺名称',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入商铺名称',
			'validate'=>'datatype="s2-255" ignore="ignore"  errormsg="商铺名称超出长度范围"',
		),
		'live_store_address'=>array(
			'text'=>'商家地址',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入商家地址',
			'validate'=>'datatype="s2-255" ignore="ignore"  errormsg="商家地址超出长度范围"',
		),
		'live_store_tel'=>array(
			'text'=>'商铺电话',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入商铺电话',
			'validate'=>'datatype="m" ignore="ignore"',
		),
		'live_store_bus'=>array(
			'text'=>'公交线路',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入公交线路',
			'validate'=>'datatype="s2-255" ignore="ignore"  errormsg="公交线路超出长度范围"',
		),
		'shop_vrcode_prefix'=>array(
			'text'=>'商家兑换码前缀',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入商家兑换码前缀',
			'validate'=>'datatype="s2-3" ignore="ignore"',
		),
		'store_qtian'=>array(
			'text'=>'7天退换',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择7天退换',
			'validate'=>'datatype="*"  nullmsg="请选择7天退换"',
					'values'=>array('否','是'),
	),
		'shop_zhping'=>array(
			'text'=>'正品保障',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择正品保障',
			'validate'=>'datatype="*"  nullmsg="请选择正品保障"',
					'values'=>array('否','是'),
	),
		'shop_erxiaoshi'=>array(
			'text'=>'两小时发货',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择两小时发货',
			'validate'=>'datatype="*"  nullmsg="请选择两小时发货"',
					'values'=>array('否','是'),
	),
		'shop_tuihuo'=>array(
			'text'=>'退货承诺',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择退货承诺',
			'validate'=>'datatype="*"  nullmsg="请选择退货承诺"',
					'values'=>array('否','是'),
	),
		'shop_shiyong'=>array(
			'text'=>'试用中心',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择试用中心',
			'validate'=>'datatype="*"  nullmsg="请选择试用中心"',
					'values'=>array('否','是'),
	),
		'shop_shiti'=>array(
			'text'=>'实体验证',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择实体验证',
			'validate'=>'datatype="*"  nullmsg="请选择实体验证"',
					'values'=>array('否','是'),
	),
		'shop_xiaoxie'=>array(
			'text'=>'消协保证',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择消协保证',
			'validate'=>'datatype="*"  nullmsg="请选择消协保证"',
					'values'=>array('否','是'),
	),
		'shop_huodaofk'=>array(
			'text'=>'货到付款',
			'type'=>'radio',
			'is_visible'=>0,
			'required'=>1,
			'placeholder'=>'请选择货到付款',
			'validate'=>'datatype="*"  nullmsg="请选择货到付款"',
					'values'=>array('否','是'),
	),
		'shop_region'=>array(
			'text'=>'店铺默认配送区域',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺默认配送区域',
			'validate'=>'datatype="s2-50" ignore="ignore"  errormsg="店铺默认配送区域超出长度范围"',
		),
		'recommend_uid'=>array(
			'text'=>'推荐招商员用户id',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入推荐招商员用户id',
			'validate'=>'datatype="n" ignore="ignore"  errormsg="推荐招商员用户id是数字类型"',
		),
		'shop_qrcode'=>array(
			'text'=>'店铺公众号',
			'type'=>'text',
			'is_visible'=>0,
			'required'=>0,
			'placeholder'=>'请输入店铺公众号',
			'validate'=>'datatype="s2-255" ignore="ignore"  errormsg="店铺公众号超出长度范围"',
		),
		'shop_platform_commission_rate'=>array(
			'text'=>'平台抽取佣金比率',
			'type'=>'text',
			'is_visible'=>1,
			'required'=>0,
			'placeholder'=>'请输入平台抽取佣金比率',
			'validate'=>'datatype="n" ignore="ignore" regex="/\d+\.?\d{0,2}/"',
		),
        ),


/*********搜索字段配置信息********/
'search'=>array(
        '-1'=>array(
            'field'=>'shop_id',
            'type'=>'text',
            'required'=>1, //required为1必须搜索
            'comment'=>'ID',
    ),

			'0'=>array(
            'field'=>'shop_name',
            'type'=>'text',
            'required'=>1,
            'comment'=>'店铺名称',
        ),
			'1'=>array(
            'field'=>'shop_type_id',
            'type'=>'text',
            'required'=>1,
            'comment'=>'店铺等级',
        ),
			'2'=>array(
            'field'=>'shop_type_name',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺等级名称',
        ),
			'3'=>array(
            'field'=>'member_id',
            'type'=>'text',
            'required'=>1,
            'comment'=>'会员id',
        ),
			'4'=>array(
            'field'=>'shop_group_id',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺分类',
        ),
			'5'=>array(
            'field'=>'shop_group_name',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺类型名称',
        ),
			'6'=>array(
            'field'=>'company_name',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺公司名称',
        ),
			'7'=>array(
            'field'=>'province_id',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺所在省份ID',
        ),
			'8'=>array(
            'field'=>'city_id',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺所在市ID',
        ),
			'9'=>array(
            'field'=>'district_id',
            'type'=>'text',
            'required'=>0,
            'comment'=>'所在地区ID',
        ),
			'10'=>array(
            'field'=>'address_detail',
            'type'=>'text',
            'required'=>0,
            'comment'=>'公司详细地址',
        ),
			'11'=>array(
            'field'=>'shop_zip',
            'type'=>'text',
            'required'=>0,
            'comment'=>'邮政编码',
        ),
			'12'=>array(
            'field'=>'shop_close_info',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺关闭原因',
        ),
			'13'=>array(
            'field'=>'shop_sort',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺排序',
        ),
			'14'=>array(
            'field'=>'shop_banner',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺横幅',
        ),
			'15'=>array(
            'field'=>'shop_avatar',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺头像',
        ),
			'16'=>array(
            'field'=>'shop_keywords',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺seo关键字',
        ),
			'17'=>array(
            'field'=>'shop_description',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺seo描述',
        ),
			'18'=>array(
            'field'=>'shop_qq',
            'type'=>'text',
            'required'=>0,
            'comment'=>'QQ',
        ),
			'19'=>array(
            'field'=>'shop_ww',
            'type'=>'text',
            'required'=>0,
            'comment'=>'阿里旺旺',
        ),
			'20'=>array(
            'field'=>'shop_domain',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺二级域名',
        ),
			'21'=>array(
            'field'=>'shop_credit',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺信用',
        ),
			'22'=>array(
            'field'=>'shop_collect',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺收藏数量',
        ),
			'23'=>array(
            'field'=>'shop_stamp',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺印章',
        ),
			'24'=>array(
            'field'=>'shop_printdesc',
            'type'=>'text',
            'required'=>0,
            'comment'=>'打印订单页面下方说明文字',
        ),
			'25'=>array(
            'field'=>'live_store_name',
            'type'=>'text',
            'required'=>0,
            'comment'=>'商铺名称',
        ),
			'26'=>array(
            'field'=>'live_store_address',
            'type'=>'text',
            'required'=>0,
            'comment'=>'商家地址',
        ),
			'27'=>array(
            'field'=>'live_store_bus',
            'type'=>'text',
            'required'=>0,
            'comment'=>'公交线路',
        ),
			'28'=>array(
            'field'=>'shop_vrcode_prefix',
            'type'=>'text',
            'required'=>0,
            'comment'=>'商家兑换码前缀',
        ),
			'29'=>array(
            'field'=>'shop_region',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺默认配送区域',
        ),
			'30'=>array(
            'field'=>'recommend_uid',
            'type'=>'text',
            'required'=>0,
            'comment'=>'推荐招商员用户id',
        ),
			'31'=>array(
            'field'=>'shop_qrcode',
            'type'=>'text',
            'required'=>0,
            'comment'=>'店铺公众号',
        ),
			),

/*********详情字段配置信息********/
'view'=>array(
    '0'=>[
        'comment'=>'店铺索引id',
        'field'=>'shop_id',
    ],
    '1'=>[
        'comment'=>'店铺名称',
        'field'=>'shop_name',
    ],
    '2'=>[
        'comment'=>'店铺等级',
        'field'=>'shop_type_id',
    ],
    '3'=>[
        'comment'=>'店铺等级名称',
        'field'=>'shop_type_name',
    ],
    '4'=>[
        'comment'=>'会员id',
        'field'=>'member_id',
    ],
    '5'=>[
        'comment'=>'店铺分类',
        'field'=>'shop_group_id',
    ],
    '6'=>[
        'comment'=>'店铺类型名称',
        'field'=>'shop_group_name',
    ],
    '7'=>[
        'comment'=>'店铺公司名称',
        'field'=>'company_name',
    ],
    '8'=>[
        'comment'=>'店铺所在省份ID',
        'field'=>'province_id',
    ],
    '9'=>[
        'comment'=>'店铺所在市ID',
        'field'=>'city_id',
    ],
    '10'=>[
        'comment'=>'所在地区ID',
        'field'=>'district_id',
    ],
    '11'=>[
        'comment'=>'公司详细地址',
        'field'=>'address_detail',
    ],
    '12'=>[
        'comment'=>'邮政编码',
        'field'=>'shop_zip',
    ],
    '13'=>[
        'comment'=>'店铺状态0：关闭,1:开启',
        'field'=>'shop_status',
    ],
    '14'=>[
        'comment'=>'店铺关闭原因',
        'field'=>'shop_close_info',
    ],
    '15'=>[
        'comment'=>'店铺排序',
        'field'=>'shop_sort',
    ],
    '16'=>[
        'comment'=>'店铺时间',
        'field'=>'shop_create_time',
    ],
    '17'=>[
        'comment'=>'店铺关闭时间',
        'field'=>'shop_end_time',
    ],
    '18'=>[
        'comment'=>'店铺logo',
        'field'=>'shop_logo',
    ],
    '19'=>[
        'comment'=>'店铺横幅',
        'field'=>'shop_banner',
    ],
    '20'=>[
        'comment'=>'店铺头像',
        'field'=>'shop_avatar',
    ],
    '21'=>[
        'comment'=>'店铺seo关键字',
        'field'=>'shop_keywords',
    ],
    '22'=>[
        'comment'=>'店铺seo描述',
        'field'=>'shop_description',
    ],
    '23'=>[
        'comment'=>'QQ',
        'field'=>'shop_qq',
    ],
    '24'=>[
        'comment'=>'阿里旺旺',
        'field'=>'shop_ww',
    ],
    '25'=>[
        'comment'=>'商家电话',
        'field'=>'shop_phone',
    ],
    '26'=>[
        'comment'=>'店铺二级域名',
        'field'=>'shop_domain',
    ],
    '27'=>[
        'comment'=>'二级域名修改次数',
        'field'=>'shop_domain_times',
    ],
    '28'=>[
        'comment'=>'推荐，0为否，1为是，默认为0',
        'field'=>'shop_recommend',
    ],
    '29'=>[
        'comment'=>'店铺信用',
        'field'=>'shop_credit',
    ],
    '30'=>[
        'comment'=>'描述相符度分数',
        'field'=>'shop_desccredit',
    ],
    '31'=>[
        'comment'=>'服务态度分数',
        'field'=>'shop_servicecredit',
    ],
    '32'=>[
        'comment'=>'发货速度分数',
        'field'=>'shop_deliverycredit',
    ],
    '33'=>[
        'comment'=>'店铺收藏数量',
        'field'=>'shop_collect',
    ],
    '34'=>[
        'comment'=>'店铺印章',
        'field'=>'shop_stamp',
    ],
    '35'=>[
        'comment'=>'打印订单页面下方说明文字',
        'field'=>'shop_printdesc',
    ],
    '36'=>[
        'comment'=>'店铺销售额（不计算退款）',
        'field'=>'shop_sales',
    ],
    '37'=>[
        'comment'=>'店铺账户余额',
        'field'=>'shop_account',
    ],
    '38'=>[
        'comment'=>'店铺可提现金额',
        'field'=>'shop_cash',
    ],
    '39'=>[
        'comment'=>'工作时间',
        'field'=>'shop_workingtime',
    ],
    '40'=>[
        'comment'=>'商铺名称',
        'field'=>'live_store_name',
    ],
    '41'=>[
        'comment'=>'商家地址',
        'field'=>'live_store_address',
    ],
    '42'=>[
        'comment'=>'商铺电话',
        'field'=>'live_store_tel',
    ],
    '43'=>[
        'comment'=>'公交线路',
        'field'=>'live_store_bus',
    ],
    '44'=>[
        'comment'=>'商家兑换码前缀',
        'field'=>'shop_vrcode_prefix',
    ],
    '45'=>[
        'comment'=>'7天退换',
        'field'=>'store_qtian',
    ],
    '46'=>[
        'comment'=>'正品保障',
        'field'=>'shop_zhping',
    ],
    '47'=>[
        'comment'=>'两小时发货',
        'field'=>'shop_erxiaoshi',
    ],
    '48'=>[
        'comment'=>'退货承诺',
        'field'=>'shop_tuihuo',
    ],
    '49'=>[
        'comment'=>'试用中心',
        'field'=>'shop_shiyong',
    ],
    '50'=>[
        'comment'=>'实体验证',
        'field'=>'shop_shiti',
    ],
    '51'=>[
        'comment'=>'消协保证',
        'field'=>'shop_xiaoxie',
    ],
    '52'=>[
        'comment'=>'货到付款',
        'field'=>'shop_huodaofk',
    ],
    '53'=>[
        'comment'=>'商家配送时间',
        'field'=>'shop_free_time',
    ],
    '54'=>[
        'comment'=>'店铺默认配送区域',
        'field'=>'shop_region',
    ],
    '55'=>[
        'comment'=>'推荐招商员用户id',
        'field'=>'recommend_uid',
    ],
    '56'=>[
        'comment'=>'店铺公众号',
        'field'=>'shop_qrcode',
    ],
    '57'=>[
        'comment'=>'平台抽取佣金比率',
        'field'=>'shop_platform_commission_rate',
    ],
),

);?>